﻿#ifndef THREAD_LOGGER_H
#define THREAD_LOGGER_H

#include <QObject>
#include <QDebug>
#include <QDateTime>
#include <QFile>
#include <QString>
#include <QTextStream>
#include <QMutex>

namespace controller
{
	class Logger
	{
		private:
			static QTextStream outputStream;
			static QMutex mutex;
		public:
			void static setOutput( FILE * );

			void static write( const QString& );
			void static write( const char* );
			void static write( const int & );
			void static write( const bool & );

			virtual ~Logger(){}
	};
}

#endif
